package de.lns.entities.mobs;

import java.nio.FloatBuffer;

import de.lns.entities.ai.Standardmobai;
import de.lns.level.Circle;
import de.lns.level.Shapes;
import de.lns.render.ModelFactory;

public class Orc extends Mob {
	private static double radius = 14;
	private static String texturepath="entities/MobOrc.png";
	private static FloatBuffer mesh=ModelFactory.genRectMesh((float)radius*2, (float)radius*2);
	private static int textureid;
	static{
		textureid = de.lns.render.TextureLoader.loadTexture(texturepath);
	}

	/**
	 * 
	 * @param posX The SpawnXPostion of the Orc.
	 * @param posY The SpawnYPostion of the Orc.
	 * @param path The path of this Orc.
	 */
	public Orc(double posX, double posY, int[] path) {
		super(posX, posY,radius, path, 50, 160);
		setArmor(10, 15, 5, 15, 5, 5);
		this.setAi(new Standardmobai(this));
	}
	@Override
	public FloatBuffer getMesh(){
		return mesh;
	}
	public int getTextureID(){
		return textureid;
	}
	
}
